package org.jeecg.modules.oa.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.modules.system.entity.BaseEntity;
import org.jeecg.modules.system.entity.SysUser;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 工作日志表
 * @Author: jeecg-boot
 * @Date:   2019-09-11
 * @Version: V1.0
 */
@Data
@TableName("oa_journal")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="oa_journal对象", description="工作日志表")
public class OaJournal extends BaseEntity {


	/**编号*/
	@TableId(type = IdType.UUID)
    @ApiModelProperty(value = "编号")
	private String id;
	/**日志内容(今日完成工作)*/
	@Excel(name = "日志内容(今日完成工作)", width = 15)
    @ApiModelProperty(value = "日志内容(今日完成工作)")
	private String name;
	/**输入时间*/
	@Excel(name = "输入时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "输入时间")
	private Date inputTime;
	/**图片*/
	@Excel(name = "图片", width = 15)
    @ApiModelProperty(value = "图片")
	private String imageUrl;
	/**巡检运行id*/
	@Excel(name = "巡检运行id", width = 15)
    @ApiModelProperty(value = "巡检运行id")
	private String inspectionProcessId;
	/**日志位置经度坐标*/
	@Excel(name = "日志位置经度坐标", width = 15)
    @ApiModelProperty(value = "日志位置经度坐标")
	private String inLongitude;
	/**日志位置纬度坐标*/
	@Excel(name = "日志位置纬度坐标", width = 15)
    @ApiModelProperty(value = "日志位置纬度坐标")
	private String inLatitude;
	/**填写日志位置*/
	@Excel(name = "填写日志位置", width = 15)
    @ApiModelProperty(value = "填写日志位置")
	private String inPosition;
	/**点击数*/
	@Excel(name = "点击数", width = 15)
    @ApiModelProperty(value = "点击数")
	private Integer hits;
	/**创建者*/
	@Excel(name = "创建者", width = 15)
    @ApiModelProperty(value = "创建者")
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**更新者*/
	@Excel(name = "更新者", width = 15)
    @ApiModelProperty(value = "更新者")
	private String updateBy;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
	private Date updateTime;
	/**备注信息*/
	@Excel(name = "备注信息", width = 15)
    @ApiModelProperty(value = "备注信息")
	private String remarks;
	/**删除标记*/
	@Excel(name = "删除标记", width = 15)
    @ApiModelProperty(value = "删除标记")
	private String delFlag;
	/**count*/
	@Excel(name = "count", width = 15)
    @ApiModelProperty(value = "count")
	private Integer count;
	/**今日未完成工作*/
	@Excel(name = "今日未完成工作", width = 15)
    @ApiModelProperty(value = "今日未完成工作")
	private String unfinishedWork;
	/**需协调工作*/
	@Excel(name = "需协调工作", width = 15)
    @ApiModelProperty(value = "需协调工作")
	private String needhelpWork;

	@TableField(exist = false)
	private SysUser sysUser;
	/**创建人部门id*/
	@TableField(exist =false )
	private String departId;
	@TableField(exist =false )
	private String departName;
	/**创建人公司id*/
	@TableField(exist =false )
	private String companyId;
	@TableField(exist =false )
	private String companyName;
	@TableField(exist =false )
	private String beginTime;
	@TableField(exist =false )
	private String endTime;
	/**创建人真实姓名*/
	@TableField(exist =false )
	private String createName;
	/**创建人登录账号*/
	@TableField(exist =false )
	private String username;
	/**创建人岗位*/
	@TableField(exist =false )
	private String positionId;
	@TableField(exist =false )
	private String positionName;
	@TableField(exist =false )
	private String positionCode;
	@TableField(exist =false )
	private String positionType;
	/**评论数*/
	@TableField(exist =false )
	private int commentCount;
	/**阅读数*/
	@TableField(exist =false )
	private int readNum;

	/** 图片列表 -- PC端使用 */
	@TableField(exist =false )
	private List<String> imageUrlList;
	@TableField(exist =false )
	private Map map;
	@TableField(exist =false )
	private String treeId;
	@TableField(exist =false )
	private String currentUserId;
	@TableField(exist =false )
	private Boolean isNewest;//是否最新记录
	@TableField(exist =false )
	private String createTimeStr;
}
